package com.prjsystem.action;

import com.opensymphony.xwork2.ActionSupport;
import com.prjsystem.entity.WorkRequestViewBean;
import com.prjsystem.service.WorkRequestService;

@SuppressWarnings("serial")
public class WorkRequestDetailAction extends ActionSupport {
	private WorkRequestService workRequestService;
	private WorkRequestViewBean workRequestViewBean = new WorkRequestViewBean();

	// 查看WorkRequest
	public String look() {
		return SUCCESS;
	}
	
	public String modifyWr() {
		workRequestService.menuWr(workRequestViewBean);
		return SUCCESS;
	}

	public WorkRequestViewBean getWorkRequestViewBean() {
		return workRequestViewBean;
	}
	public void setWorkRequestViewBean(WorkRequestViewBean workRequestViewBean) {
		this.workRequestViewBean = workRequestViewBean;
	}

	public WorkRequestService getWorkRequestService() {
		return workRequestService;
	}

	public void setWorkRequestService(WorkRequestService workRequestService) {
		this.workRequestService = workRequestService;
	}
}
